package com.warm.orm.domain.sys.convert;


import com.warm.orm.domain.sys.SysHotPlug;
import com.warm.orm.domain.sys.dto.SysHotPlugDto;
import com.warm.orm.domain.sys.vo.SysHotPlugVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 扩展插件对象转换器
 *
 * @author xian.zi.ming@qq.com
 */
@Mapper
public interface SysHotPlugC {

    SysHotPlugC sysHotPlugC = Mappers.getMapper(SysHotPlugC.class);

    SysHotPlug convert(SysHotPlugDto dto);

    SysHotPlugVo convert(SysHotPlug entity);

    List<SysHotPlugVo> convert(List<SysHotPlug> entityList);
}
